using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;


public enum CellState
{
    Hide,
    HighLight,
    Fixed
}

public class Cell : MonoBehaviour
{
    public CellState _cellState;
    private SpriteRenderer cellImage;

    private void Start()
    {
        cellImage = GetComponent<SpriteRenderer>();
    }
    
    private void Update()
    {
        switch (_cellState)
        {
            case CellState.Hide:
                cellImage.enabled = false;
                break;
            case CellState.HighLight:
                cellImage.enabled = true;
                break;
            case CellState.Fixed:
                cellImage.enabled = true;
                break;
                
        }
    }
}